package com.intramirror.wd.model.po;

import java.util.Date;

/**
 * database table is s2c_coupons
 * @mbg.generated do_not_delete_during_merge
 */
public class S2cCoupons {
    /**
     * database column is s2c_coupons.id
     * @mbg.generated
     */
    private Integer id;

    /**
     * 优惠券名称
     * database column is s2c_coupons.name
     * @mbg.generated
     */
    private String name;

    /**
     * 备注
     * database column is s2c_coupons.remark
     * @mbg.generated
     */
    private String remark;

    /**
     * 描述
     * database column is s2c_coupons.description
     * @mbg.generated
     */
    private String description;

    /**
     * 1: 指定某天 2: 领取后时长
     * database column is s2c_coupons.valid_type
     * @mbg.generated
     */
    private Integer validType;

    /**
     * 1: 优惠金额 2: 优惠折扣
     * database column is s2c_coupons.coupon_type
     * @mbg.generated
     */
    private Integer couponType;

    /**
     * 优惠券金额
     * database column is s2c_coupons.amount
     * @mbg.generated
     */
    private Float amount;

    /**
     * 折扣 80
     * database column is s2c_coupons.discount
     * @mbg.generated
     */
    private Integer discount;

    /**
     * 优惠券总数量
     * database column is s2c_coupons.total_count
     * @mbg.generated
     */
    private Integer totalCount;

    /**
     * 优惠券剩余数量
     * database column is s2c_coupons.count
     * @mbg.generated
     */
    private Integer count;

    /**
     * 1. 满减 2: 第N折 3: 满N折 4: 满N减
     * database column is s2c_coupons.condition_type
     * @mbg.generated
     */
    private Integer conditionType;

    /**
     * 优惠券使用的最低订单金额
     * database column is s2c_coupons.min_condition_amount
     * @mbg.generated
     */
    private Float minConditionAmount;

    /**
     * 优惠券使用的最低订单货品数量
     * database column is s2c_coupons.min_condition_count
     * @mbg.generated
     */
    private Integer minConditionCount;

    /**
     * 优惠券的开始日期
     * database column is s2c_coupons.start_datetime
     * @mbg.generated
     */
    private Date startDatetime;

    /**
     * 优惠券的开始有效期 时间戳
     * database column is s2c_coupons.start_valid_datetime
     * @mbg.generated
     */
    private Integer startValidDatetime;

    /**
     * 优惠券截止日期，配合type=1
     * database column is s2c_coupons.end_datetime
     * @mbg.generated
     */
    private Date endDatetime;

    /**
     * 优惠券有效日期，配合type=2 时间戳
     * database column is s2c_coupons.end_valid_datetime
     * @mbg.generated
     */
    private Integer endValidDatetime;

    /**
     * 是否有效
     * database column is s2c_coupons.disabled
     * @mbg.generated
     */
    private Boolean disabled;

    /**
     * 用户领取的最大数量
     * database column is s2c_coupons.max_user_count
     * @mbg.generated
     */
    private Integer maxUserCount;

    /**
     * database column is s2c_coupons.created_at
     * @mbg.generated
     */
    private Date createdAt;

    /**
     * database column is s2c_coupons.updated_at
     * @mbg.generated
     */
    private Date updatedAt;

    /**
     * @return the value of s2c_coupons.id
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the value for s2c_coupons.id
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the value of s2c_coupons.name
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the value for s2c_coupons.name
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * @return the value of s2c_coupons.remark
     * @mbg.generated
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark the value for s2c_coupons.remark
     * @mbg.generated
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * @return the value of s2c_coupons.description
     * @mbg.generated
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the value for s2c_coupons.description
     * @mbg.generated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * @return the value of s2c_coupons.valid_type
     * @mbg.generated
     */
    public Integer getValidType() {
        return validType;
    }

    /**
     * @param validType the value for s2c_coupons.valid_type
     * @mbg.generated
     */
    public void setValidType(Integer validType) {
        this.validType = validType;
    }

    /**
     * @return the value of s2c_coupons.coupon_type
     * @mbg.generated
     */
    public Integer getCouponType() {
        return couponType;
    }

    /**
     * @param couponType the value for s2c_coupons.coupon_type
     * @mbg.generated
     */
    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    /**
     * @return the value of s2c_coupons.amount
     * @mbg.generated
     */
    public Float getAmount() {
        return amount;
    }

    /**
     * @param amount the value for s2c_coupons.amount
     * @mbg.generated
     */
    public void setAmount(Float amount) {
        this.amount = amount;
    }

    /**
     * @return the value of s2c_coupons.discount
     * @mbg.generated
     */
    public Integer getDiscount() {
        return discount;
    }

    /**
     * @param discount the value for s2c_coupons.discount
     * @mbg.generated
     */
    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    /**
     * @return the value of s2c_coupons.total_count
     * @mbg.generated
     */
    public Integer getTotalCount() {
        return totalCount;
    }

    /**
     * @param totalCount the value for s2c_coupons.total_count
     * @mbg.generated
     */
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    /**
     * @return the value of s2c_coupons.count
     * @mbg.generated
     */
    public Integer getCount() {
        return count;
    }

    /**
     * @param count the value for s2c_coupons.count
     * @mbg.generated
     */
    public void setCount(Integer count) {
        this.count = count;
    }

    /**
     * @return the value of s2c_coupons.condition_type
     * @mbg.generated
     */
    public Integer getConditionType() {
        return conditionType;
    }

    /**
     * @param conditionType the value for s2c_coupons.condition_type
     * @mbg.generated
     */
    public void setConditionType(Integer conditionType) {
        this.conditionType = conditionType;
    }

    /**
     * @return the value of s2c_coupons.min_condition_amount
     * @mbg.generated
     */
    public Float getMinConditionAmount() {
        return minConditionAmount;
    }

    /**
     * @param minConditionAmount the value for s2c_coupons.min_condition_amount
     * @mbg.generated
     */
    public void setMinConditionAmount(Float minConditionAmount) {
        this.minConditionAmount = minConditionAmount;
    }

    /**
     * @return the value of s2c_coupons.min_condition_count
     * @mbg.generated
     */
    public Integer getMinConditionCount() {
        return minConditionCount;
    }

    /**
     * @param minConditionCount the value for s2c_coupons.min_condition_count
     * @mbg.generated
     */
    public void setMinConditionCount(Integer minConditionCount) {
        this.minConditionCount = minConditionCount;
    }

    /**
     * @return the value of s2c_coupons.start_datetime
     * @mbg.generated
     */
    public Date getStartDatetime() {
        return startDatetime;
    }

    /**
     * @param startDatetime the value for s2c_coupons.start_datetime
     * @mbg.generated
     */
    public void setStartDatetime(Date startDatetime) {
        this.startDatetime = startDatetime;
    }

    /**
     * @return the value of s2c_coupons.start_valid_datetime
     * @mbg.generated
     */
    public Integer getStartValidDatetime() {
        return startValidDatetime;
    }

    /**
     * @param startValidDatetime the value for s2c_coupons.start_valid_datetime
     * @mbg.generated
     */
    public void setStartValidDatetime(Integer startValidDatetime) {
        this.startValidDatetime = startValidDatetime;
    }

    /**
     * @return the value of s2c_coupons.end_datetime
     * @mbg.generated
     */
    public Date getEndDatetime() {
        return endDatetime;
    }

    /**
     * @param endDatetime the value for s2c_coupons.end_datetime
     * @mbg.generated
     */
    public void setEndDatetime(Date endDatetime) {
        this.endDatetime = endDatetime;
    }

    /**
     * @return the value of s2c_coupons.end_valid_datetime
     * @mbg.generated
     */
    public Integer getEndValidDatetime() {
        return endValidDatetime;
    }

    /**
     * @param endValidDatetime the value for s2c_coupons.end_valid_datetime
     * @mbg.generated
     */
    public void setEndValidDatetime(Integer endValidDatetime) {
        this.endValidDatetime = endValidDatetime;
    }

    /**
     * @return the value of s2c_coupons.disabled
     * @mbg.generated
     */
    public Boolean getDisabled() {
        return disabled;
    }

    /**
     * @param disabled the value for s2c_coupons.disabled
     * @mbg.generated
     */
    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    /**
     * @return the value of s2c_coupons.max_user_count
     * @mbg.generated
     */
    public Integer getMaxUserCount() {
        return maxUserCount;
    }

    /**
     * @param maxUserCount the value for s2c_coupons.max_user_count
     * @mbg.generated
     */
    public void setMaxUserCount(Integer maxUserCount) {
        this.maxUserCount = maxUserCount;
    }

    /**
     * @return the value of s2c_coupons.created_at
     * @mbg.generated
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * @param createdAt the value for s2c_coupons.created_at
     * @mbg.generated
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * @return the value of s2c_coupons.updated_at
     * @mbg.generated
     */
    public Date getUpdatedAt() {
        return updatedAt;
    }

    /**
     * @param updatedAt the value for s2c_coupons.updated_at
     * @mbg.generated
     */
    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}